package com.managerProvider.service;

import entity.Provider;
import entity.ResponseMessage;

/**
 * 供应商服务
 * The interface Provider service.
 *
 * @author tapoliuliyue
 * @date 2022/04/23
 */
public interface ProviderService {
    /**
     * Select all provider response message.
     *
     * @param provider the provider
     * @return the response message
     */
    ResponseMessage selectAllProvider(Provider provider);

    /**
     * Insert provider response message.
     *
     * @param provider the provider
     * @return the response message
     */
    ResponseMessage insertProvider(Provider provider);

    /**
     * Update provider response message.
     *
     * @param provider the provider
     * @return the response message
     */
    ResponseMessage updateProvider(Provider provider);

}
